#include "../Stack.h"

#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
	Stack<int> stack(3);
	int ia =2;
	int ib = 3;
	int ic = 5;
	
	int &a = ia;
	int &b = ib;
	int &c = ic;
	
	stack.push(a);
	stack.push(b);
	stack.push(c);
	
	int value = stack.pop();
	
	cout<< "value = "<< value<<endl;
	
	return 0;
}
